home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 205_01 / lowcase.c < prev    next >
Text File  |  1980-01-01  |  768b  |  27 lines

  1. /*
  2. HEADER:                 CUG205.00;
  3. TITLE:                  Text File Lowercase Filter;
  4. DATE:                   09/24/86;
  5. DESCRIPTION:
  6.   "Filter for converting an entire text file in lower case.";
  7. KEYWORDS:               Software tools, Text filters,case, lower case, to
  8.                         lower;
  9. SYSTEM:                 MS-DOS;
  10. FILENAME:               LOWCASE.C;
  11. WARNINGS:
  12.   "The author claims copyrights and authorizes non-commercial use only.";
  13. AUTHORS:                 Michael M. Yokoyama;
  14. COMPILERS:              Microsoft;
  15. */
  16.  
  17. #include <stdio.h>
  18. #include <ctype.h>
  19.  
  20. main()
  21. {
  22.   int c;
  23.   while((c = getchar()) != EOF) {
  24.     putchar(tolower(c));
  25.   }
  26. }
  27.